package com.shang.service;

import com.shang.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author Larry
 * @Date 2021/5/20 11:06
 * @Version 1.0
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public void add(){
        System.out.println("service add.............");
        userDao.add();
    }
}
